import request from '@/utils/request'

// 获取分析维度列表
export function getAnalysisDimensions() {
  return request({
    url: '/api/evaluation/dimensions',
    method: 'get'
  })
}

// 获取学生基本信息
export function getStudentProfile(studentNo) {
  return request({
    url: '/api/evaluation/student/' + studentNo,
    method: 'get'
  })
}

// AI智能测评
export function aiEvaluate(data) {
  return request({
    url: '/api/evaluation/ai',
    method: 'post',
    data: data
  })
}

// 获取测评历史记录
export function getEvaluationHistory(query) {
  return request({
    url: '/api/evaluation/history',
    method: 'get',
    params: query
  })
}

// 获取测评详情
export function getEvaluationDetail(id) {
  return request({
    url: '/api/evaluation/' + id,
    method: 'get'
  })
}

// 删除测评记录
export function deleteEvaluation(id) {
  return request({
    url: '/api/evaluation/' + id,
    method: 'delete'
  })
} 